package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;



@Table(name = "autoscale_policy")
public class AutoscalePolicy extends BaseEntity<Long> {

	private static final long serialVersionUID = 4501640749060892319L;

	
	@Id
	@Column(name = "id")
	private Long id;	
	
	@Column(name = "elastic_indicator")
	private String elasticIndicator;
	
	@Column(name = "min_pod_num")
	private Integer minPodNum;
	
	@Column(name = "max_pod_num")
	private Integer maxPodNum;
	
	@Column(name = "max_cpu")
	private Integer maxCpu;
	
	@Column(name = "elastic_start_time")
	private String elasticStartTime;
	
	@Column(name = "elastic_end_time")
	private String elasticEndTime;
	
	@Column(name = "time_rate")
	private String timeRate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getElasticIndicator() {
		return elasticIndicator;
	}

	public void setElasticIndicator(String elasticIndicator) {
		this.elasticIndicator = elasticIndicator;
	}

	public Integer getMinPodNum() {
		return minPodNum;
	}

	public void setMinPodNum(Integer minPodNum) {
		this.minPodNum = minPodNum;
	}

	public Integer getMaxPodNum() {
		return maxPodNum;
	}

	public void setMaxPodNum(Integer maxPodNum) {
		this.maxPodNum = maxPodNum;
	}

	public Integer getMaxCpu() {
		return maxCpu;
	}

	public void setMaxCpu(Integer maxCpu) {
		this.maxCpu = maxCpu;
	}

	public String getElasticStartTime() {
		return elasticStartTime;
	}

	public void setElasticStartTime(String elasticStartTime) {
		this.elasticStartTime = elasticStartTime;
	}

	public String getElasticEndTime() {
		return elasticEndTime;
	}

	public void setElasticEndTime(String elasticEndTime) {
		this.elasticEndTime = elasticEndTime;
	}

	public String getTimeRate() {
		return timeRate;
	}

	public void setTimeRate(String timeRate) {
		this.timeRate = timeRate;
	}	
	
	

	
	
	
	
	
	
}